# encoding:utf-8
from flask_migrate import Migrate, MigrateCommand
from flask_script import Manager
from common.models.book import *
from common.models.user import *
from common.models.course import *
from common.models.comment import *
from common.models.pay import Goods
from main import app

manage = Manager(app)
migrate = Migrate(app, db)
manage.add_command('db', MigrateCommand)

if __name__ == '__main__':
    manage.run()



